import request from "@/utils/request";
// 列表
export function list(data) {
  return request("notice/list", data, "get");
}
// 详情
export function info(data) {
  return request("notice/info", data, "get");
}
// 添加
export function add(data) {
  return request("notice/add", data, "post");
}
// 编辑
export function edit(data) {
  return request("notice/edit", data, "post");
}
// 开启
export function open(data) {
  return request("notice/open", data, "post");
}
export function del(data) {
  return request("notice/del", data, "post");
}
